package dawnland03.model.item;

/**
 * User: Petru Obreja (obrejap@yahoo.com)
 * Date: Jan 23, 2010
 * Time: 10:58:37 PM
 */
public enum ItemType {
    COAL("Coal", 0),
    WOOD("Wood", 1);
    
    private String shortName;
    private Integer id;

    ItemType(String shortName, Integer id){
        this.shortName = shortName;
        this.id = id;
    }

    public Integer getId(){
        return id;
    }

    public String toString() {
        return shortName;
    }

}
